#ifndef LOGINMODEL_H
#define LOGINMODEL_H

#include <QWidget>
#include "../base/basemodel.h"
#include "logindata.h"

class LoginModel : public QWidget, public BaseModel
{
    Q_OBJECT
public:
    explicit LoginModel(QWidget *parent = nullptr);
    virtual void setModel(QSharedPointer<Data> dataPtr) override;
    virtual QSharedPointer<Data> getModelData() override;
    virtual void init() override;

signals:

public slots:

private:
    QString m_account;
    QString m_password;
    QString m_role;
};

#endif // LOGINMODEL_H
